import trie from "./trie";
import {CommandBase} from "./command/base";

export default function Insert<T extends CommandBase>(target : new () => T) {
    trie.insertCommand(new target())
}